<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<!-- 开发环境版本，包含了有帮助的命令行警告 -->
		<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
	</head>
	<body>
		<div id="app-4">
			<span>{{message}}</span>

			<!-- v-model 指令，它能轻松实现表单输入和应用状态之间的双向绑定 -->
			<input type="text" v-model="message" />
		</div>
		<script type="text/javascript">
			var vue = new Vue({
				el: "#app-4",
				data: {
					message: "test"
				}
			})
		</script>

	</body>
</html>
